<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>作业3</title>
	<script>
		   var num=parseInt(prompt('请任意输入一个正整数'));
		   for(var i=0;i<=num;i++){
		   	   console.log(i+'+'+(num-i)+'='+num);
		   }
	</script>
</head>
<body>
	
</body>
</html>